#ifndef BNETLOGGERSETTINGSWIDGET_H
#define BNETLOGGERSETTINGSWIDGET_H

#include <qwidget.h>
#include <qlineedit.h>
#include <qpushbutton.h>
#include <qcheckbox.h>
class BnetLoggerSettingsWidget : public QWidget 
{
Q_OBJECT

public:

    BnetLoggerSettingsWidget( QWidget * parent = 0, 
			      const char * name = 0, 
			      WFlags f = 0 );

    void setEnabled( const bool& enabled );
    void setLogUserInChannel( const bool& enabled );
    void setLogUserJoinLeave( const bool& enabled );
    void setFilename( const QString& filename );
    
    bool getEnabled() const;
    bool getLogUserInChannel() const;
    bool getLogUserJoinLeave() const;
    QString getFilename() const;
    
protected slots:
    void enableLogger( bool enabled );
    void browseButtonClicked();
    
private:
    const unsigned int WIDGET_SPACING_SIZE;

    QCheckBox *enabledCheckBox_;
    QCheckBox *logUserInChannelCheckBox_;
    QCheckBox *logUserJoinLeaveCheckBox_;
    
    QLineEdit *filenameLineEdit_;
    QPushButton *browseButton_;
};


#endif
